﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace QuanLyBepAnTuThien
{
    public partial class frmInNhanVien : Form
    {
        public frmInNhanVien()
        {
            InitializeComponent();
        }
        connect cn = new connect();       
        private void frmInNhanVien_Load(object sender, EventArgs e)
        {
            Report.rpDsNhanVien rp_indsnv = new QuanLyBepAnTuThien.Report.rpDsNhanVien();
            DataTable dt = cn.getDataTable("tblNhanVien_InDSNhanVien");
            rp_indsnv.SetDataSource(dt);
            rp_indsnv.SetParameterValue("nguoilap",login.Hoten);
            rpDanhSachNhanVien.ReportSource = rp_indsnv;
            
        }
    }
}
